<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<title>Insert title here</title>
</head>
<style type="text/css">
.tag {
	color: red;
	font-size: 12px;
	font-weight: bold;
}
</style>
<body>
	<textarea rows="2" cols="5" style="height: 100px; width: 200px;">
人非生而知之者，所得皆学
闻之不如见之
见之不如习之
 </textarea>
	<a href="http://www.imooc.com" title="网站" target="_blank">习之不如行之</a>
	<img src="D:\图片\10.jpg" alt="图片下载失败" title="柴犬">
	<form action="testDemo" name="thisForm" method="post">
		<table>
		<%--
 <input type=“radio 单选控件/checkbox 复选控件” value=“值” name=“名称”
 checked =“checked”表示默认选中/>
         --%>
			<th>
			<td>兴趣：</td>
			<td><input type="radio" value="read" name="favourite"
				checked="checked">电影</td>
			<td><input type="radio" value="read" name="favourite">阅读</td>
			<td><input type="radio" value="read" name="favourite">逛街</td>
			<td><input type="radio" value="read" name="favourite">购物</td>
			<td><input type="radio" value="read" name="favourite">高尔夫</td>
			</th>
		</table>
		<lable>爱好：</lable>
		<select>
		<%--selected="selected" 表示默认选中  --%>
			<option value="reading">阅读</option>
			<option value="reading" >购物</option>
			<option value="walking">散步</option>
			<option value="singing">唱歌</option>
			<option value="dancing" selected="selected">跳舞</option>
		</select>
	</form>
	<br>
	<br>
	<select>
			<option value="reading">阅读</option>
			<option value="shopping" selected="selected">购物</option>
			<option value="walking">散步</option>
			<option value="singing">唱歌</option>
			<option value="dancing">跳舞</option>
		</select>
		<input type="submit" name="提交" value="提交">
		<input type="reset" name="重置" value="重置">
</body>
</html>